package com.cn.项目.飞机预约管理系统.UserFrame;

import javax.swing.*;
import java.awt.*;

public class ShowFilght01 extends JFrame {
    public ShowFilght01(){
        this.setLayout(new BorderLayout());
        JLabel jLabel = new JLabel("目前航班");
        jLabel.setFont(new Font("华文楷书", 1, 30));
        JPanel p1 = new JPanel();

        p1.add(jLabel,JLabel.CENTER);
        this.add(p1,"North");

        this.add(new SFilghtJpanel(),"Center");
        this.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
        this.setSize(500,500);
        this.setVisible(true);
        this.setLocation(500, 250);
    }
}
